package com.dream.qudouapp.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Gallery;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.dream.qudouapp.activity.BaseFragment;
import com.example.qudouapp.R;

/**
 * 首页 fragment
 * 
 * @author Administrator
 *
 */
public class HomeFragment extends BaseFragment{
	
	private LinearLayout gallerydian;
	private Gallery gallery;
	private TextView textview;
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_home, container,
				false);
		initViews(view);
		return view;
	}
	
	/**
	 * 获取组件
	 * 
	 * @param view
	 */
	private void initViews(View view){
	 gallerydian = (LinearLayout)view.findViewById(R.id.fragment_home_gallerydianlinealayout);
	 gallery = (Gallery)view.findViewById(R.id.gallery);
	 textview = (TextView)view.findViewById(R.id.fragment_home_gallery_infotext);
	}


}
